package com.dz.risk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.pojo.QueryParams;
import com.dz.risk.pojo.domain.ProprietaryValuationOfBondHoldingsInformationEntity;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 自营估值债券持仓信息-上游数据
 *
 * @author yinpl
 * @email 
 * @date 2021-07-08 09:24:19
 */
public interface ProprietaryValuationOfBondHoldingsInformationService extends IService<ProprietaryValuationOfBondHoldingsInformationEntity> {

    IPage<ProprietaryValuationOfBondHoldingsInformationEntity> query(QueryParams queryParams);

    ProprietaryValuationOfBondHoldingsInformationEntity queryByBondCode(String bondCode);

    List<ProprietaryValuationOfBondHoldingsInformationEntity> queryByVersion(Long version);


    void doExportByVersion(HttpServletResponse response, QueryParams queryParams) throws IOException;
}

